﻿<%@ Control Language="C#" AutoEventWireup="true"
    Inherits="NopSolutions.NopCommerce.Web.Modules.CaptionTextBox" Codebehind="CaptionTextBox.ascx.cs" %>

<table runat="server" id="edit_table_container" cellpadding="0" cellspacing="0" border="0">
  <tr>
    <td class="item-name"><asp:Label ID="lblCaption" runat="server" Text=""></asp:Label> <span class="red1"><strong>*</strong></span>:</td>
    <td class="item-value"><asp:TextBox ID="txtValue" runat="server"></asp:TextBox></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
      <asp:RequiredFieldValidator ID="rfvValue" ControlToValidate="txtValue" Font-Name="verdana"
        Font-Size="9pt" runat="server" Display="Dynamic"></asp:RequiredFieldValidator>
      <asp:RegularExpressionValidator ID="revValue" runat="server" ControlToValidate="txtValue" Enabled="false"
        ValidationExpression="^(\+[1-9][0-9]*(\([0-9]*\)|-[0-9]*-))?[0]?[1-9][0-9\- ]*$" ErrorMessage="Неверный формат телефона"
        Display="Dynamic" />
      <asp:RegularExpressionValidator ID="revValue2" runat="server" ControlToValidate="txtValue" Enabled="false"
        ValidationExpression=".+@.+\..+" ErrorMessage="<% $NopResources:Account.WrongEmailFormat %>"
        Display="Dynamic" />
    </td>
  </tr>
</table>




